<h3>Welcome</h3>
Note this is very preliminary and FIREFOX only.
<br/>
<br/>
This is a shared scrap book tool.  Check it out by claiming a page:
<br/>
<br/>
Please enter an area to create and hit return:
<form method=post>
<br/>
I would like to put a 
<select name="handler">
 <option value="group">group</option>
 <option value="person">person</option>
 <option value="photo">photos</option>
 <option value="chat">chat</option>
 <option value="scrapbook" selected>scrapbook</option>
 <option value="wiki">wiki</option>
 <option value="exchange">exchange</option>
 <option value="folder">folder</option>
</select>
area at 
<input name="uid" value="" />.<%=@hostname%>
 => <input type=submit value="go!" />
<br/>
</form>

<h3>Recently added areas</h3>
<table>
<%
  @areas = Note.find_roots(@user)
  @areas.each do |area|
    write "<tr><td><a href='http://#{area.relative_url}.#{@@sethostname}'>#{area.uid}</a></td><td>type=#{area.handler}</td></tr>\n"
  end
%>
</table>

<h3>Recent vistors</h3>
<table>
<%
  @users = User.find(:all,:offset=>0,:limit=>100,:order=>"id desc")
  @users.each do |user|
    write "<tr><td><a href='#{user.login}'>#{user.login}</a></td><td>#{user.title}</td></tr>\n"
  end
%>
</table>
